package com.fbt.andon.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 产线问题表
 * </p>
 *
 * @author 冯涛
 * @since 2021-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="FindIssue对象", description="产线问题表")
public class FindIssue implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id(停线号)")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "所属工厂号(外键)普索")
    private Integer plantId;

    @ApiModelProperty(value = "工厂")
    private String factory;

    @ApiModelProperty(value = "区域")
    private String area;

    @ApiModelProperty(value = "发生产线名")
    private String line;

    @ApiModelProperty(value = "发生装置")
    @TableField("Installation")
    private String Installation;

    @ApiModelProperty(value = "所属班次")
    private String type;

    @ApiModelProperty(value = "发生人工号")
    private Integer stationNumber;

    @ApiModelProperty(value = "发生班组名")
    private String groupName;

    @ApiModelProperty(value = "发现问题时间")
    private Date findIssue;

    @ApiModelProperty(value = "问题未解决停线时间")
    private Date stopLine;

    @ApiModelProperty(value = "间隔秒数")
    private Integer intervalTime;

    @ApiModelProperty(value = "导致停线秒数")
    private Integer issueStopLine;

    @ApiModelProperty(value = "有效起始日期")
    private Integer vaildFrom;

    @ApiModelProperty(value = "移位码")
    private String shiftCode;

    @ApiModelProperty(value = "所属班组")
    private String shift;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建者")
    private String createUser;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改者")
    private String updateUser;


}
